package com.example.victory.swagger.model;

import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;

/**
 * 核心考核项信息
 */
@ApiModel(description = "核心考核项信息")
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-04-26T10:50:39.083+08:00")

public class AssessAddOrSubPoint   {
  @JsonProperty("assessProject")
  private String assessProject = null;

  @JsonProperty("targetValue")
  private String targetValue = null;

  public AssessAddOrSubPoint assessProject(String assessProject) {
    this.assessProject = assessProject;
    return this;
  }

  /**
   * 考核项目
   * @return assessProject
  **/
  @ApiModelProperty(example = "金融产品销售加分", value = "考核项目")


  public String getAssessProject() {
    return assessProject;
  }

  public void setAssessProject(String assessProject) {
    this.assessProject = assessProject;
  }

  public AssessAddOrSubPoint targetValue(String targetValue) {
    this.targetValue = targetValue;
    return this;
  }

  /**
   * 指标值
   * @return targetValue
  **/
  @ApiModelProperty(example = "20000", value = "指标值")


  public String getTargetValue() {
    return targetValue;
  }

  public void setTargetValue(String targetValue) {
    this.targetValue = targetValue;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    AssessAddOrSubPoint assessAddOrSubPoint = (AssessAddOrSubPoint) o;
    return Objects.equals(this.assessProject, assessAddOrSubPoint.assessProject) &&
        Objects.equals(this.targetValue, assessAddOrSubPoint.targetValue);
  }

  @Override
  public int hashCode() {
    return Objects.hash(assessProject, targetValue);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class AssessAddOrSubPoint {\n");
    
    sb.append("    assessProject: ").append(toIndentedString(assessProject)).append("\n");
    sb.append("    targetValue: ").append(toIndentedString(targetValue)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}

